<?php 
sort($types);
foreach ($types as $type) { ?>
<br /><br /><br /><br />
从<b><?=$type?></b>点击进入的独立用户数量:<br />

<?php 

    foreach ($data[$type] as $da){
        echo date('Y-m-d',strtotime($da['cutepig_user_log']['d'])) . ' ==> ' . $da['0']['c'] .'<br />';
    }

}
?>
